Repository navigation
fix(agent-platform): refuse agentManager.skills.repositories on meta chart 4.180.0 and later - #959
Merged
Merged
Conversation
…chart 4.180.0 and later
…ndidate, in the refusal
Published Helm chart
|
| Chart | giantswarm-platform-manager |
| Version | 0.88.3-rf1e9d4b5t20261116124817h0a36798 |
| OCI reference | oci://gsoci.azurecr.io/charts/giantswarm/giantswarm-platform-manager:0.88.3-rf1e9d4b5t20261116124817h0a36798 |
| Digest | sha256:0a80a97e265bf2b64811787c5123521fd9482946d0f39befe60094116b34e0be |
| Registry | public — gsoci.azurecr.io |
| Git catalog | giantswarm-test-catalog (index) |
Pull this chart
helm pull oci://gsoci.azurecr.io/charts/giantswarm/giantswarm-platform-manager --version 0.88.3-rf1e9d4b5t20261116124817h0a36798Posted by architect-orb · build 40949 · commit 0a36798 · updated in place on every push
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes giantswarm/giantswarm#39238
Part of #915
Problem
From meta chart 4.180.0 on, the chart's default agent-manager range starts at 2.24.0, the release that takes its skills from the skill-manager. On that agent-manager the meta chart fails on
agent-manager.skills.repositories. The plan refusedagentManager.skills.repositoriesonly when aversions.components.agent-managerhold put the agent-manager at 2.24.0 or later. With no hold, the plan passed and the meta chart failed on the installation.The default agent-manager range of each chart release (
helm/agent-platform/values.yamlof giantswarm/agent-platform at the tag):components.agent-manager.versionRange>=2.22.0 <3.0.0>=2.24.0 <3.0.0>=3.0.0 <4.0.0Change
agentManager.skills.repositoriesis refused at the plan when the meta chart that the installation gets is 4.180.0-rc.2 or later and no agent-manager hold is set. No hold is needed for the refusal. The refusal names release 4.180.0 and its candidate, and says to move the list toskillManager.sourcesand empty the old list in the same reconcile, or to holdversions.chartbelow it.versions.charthold below 4.180.0-rc.2, or an agent-manager hold below 2.24.0, still passes.>=0.4.0 <0.5.0). This makes Renovate's test(deps): update gsoci.azurecr.io/charts/giantswarm/agent-manager docker tag to v3 - abandoned #947 unnecessary: it bumps agent-manager to 3.0.3 alone, outside the range of the pinned meta chart 4.180.2 (>=2.24.0 <3.0.0), so its render-consumption fails. The same pins also cover test(deps): update agent-platform 4 line to v4.181.1 #958 (meta chart 4.181.0, whose render-consumption fails alone) and test(deps): update gsoci.azurecr.io/charts/giantswarm/agent-platform-operator docker tag to v0.4.0 - abandoned #910 (agent-platform-operator 0.4.0).Tests
TestAgentManagerSkillRepositoriesBeforeTheSkillManager: refused with no hold (stable and release candidates), with chart holds~4.180.0,4.180.0-rc.2and>=4.179.0 <5.0.0; passes with chart holds>=4.179.0 <4.180.0and4.180.0-rc.1, and with agent-manager holds below 2.24.0. It checks that the refusal says to move the list toskillManager.sources.TestAgentManagerSkillsholds the agent-manager below 2.24.0 so the catalog still renders.go test -p 2 ./...passes.RENDER_CONSUMPTION=1 go test -run TestRenderConsumption ./render/agentplatform/passes at the new pins.Review
agentManager.skills.repositoriesin the same reconcile.The second review (Codex) found nothing in either round.